package yuxi.com.kotlin.bugly

import android.app.Application
import com.tencent.bugly.crashreport.CrashReport
import yuxi.com.kotlin.BuildConfig

/**
 * Created by Administrator on 2018/8/14.
 */
open class BuglyApp :Application(){
    override fun onCreate() {
        super.onCreate()
       CrashReport.initCrashReport(applicationContext, "c4da5423cd", false)
        CrashReport.setIsDevelopmentDevice(applicationContext, BuildConfig.DEBUG)

    }
     fun  instance():Application{
        return this
    }
}